package com.atguigu.test06.bean;

/**
 * @author haoranlu
 * @project IntelliJ IDEA
 */
public class Department {
    private int depid;
    private String depname;
    private String deinfo;

    public Department(int depid, String depname, String deinfo) {
        this.depid = depid;
        this.depname = depname;
        this.deinfo = deinfo;
    }

    public Department() {
    }

    public int getDepid() {
        return depid;
    }

    public void setDepid(int depid) {
        this.depid = depid;
    }

    public String getDepname() {
        return depname;
    }

    public void setDepname(String depname) {
        this.depname = depname;
    }

    public String getDeinfo() {
        return deinfo;
    }

    public void setDeinfo(String deinfo) {
        this.deinfo = deinfo;
    }

    @Override
    public String toString() {
        return "Department{" +
                "depid=" + depid +
                ", depname='" + depname + '\'' +
                ", deinfo='" + deinfo + '\'' +
                '}';
    }
}
